<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.sql.*"%>
<%@ page import="com.oa.database.*"%>
<%@ page import="com.oa.util.Format"%>

<%
    String sId = request.getParameter("id");
    if (sId == null) {
        sId = "0";
    }
    String sTable = "OA_TKXX";
    String sField = "TM";
    String sFieldCondition = "TKID";
    String sValueCondition = sId;

    Format format = new Format();
    DataConn dataConn = new DataConn();
    QueryData queryData = new QueryData(dataConn);
    queryData.setRecordSet(sTable, sField, sFieldCondition, sValueCondition);
    ResultSet rs = queryData.getResultSet();

    String content = "";
    try {
        if (rs.next()) {
            content = format.toSpaceStr(rs.getString("TM"));
        }
        out.println(content);
    }
    catch(Exception e) { out.println("em"+e);}
%>
